# 测试相关的源文件
file(GLOB TESTS
  ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp
  ${CMAKE_CURRENT_SOURCE_DIR}/../../third_party/jsi/test/*.h
  ${CMAKE_CURRENT_SOURCE_DIR}/../../third_party/jsi/test/*.cpp
)

add_executable(jsiexecutor_jsvm_ut ${TESTS})
target_link_libraries(jsiexecutor_jsvm_ut
  gtest_main
  engine
  libjsvm.so
)
target_include_directories(jsiexecutor_jsvm_ut PRIVATE
  ${CMAKE_CURRENT_SOURCE_DIR}/../../third_party
  ${CMAKE_CURRENT_SOURCE_DIR}/../../src
)